/*
 * @Description: 服务异常
 * @Author: Haor
 * @Date: 2022-05-09 10:06:25
 * @LastEditTime: 2022-05-09 10:10:05
 * @LastEditors: Haor
 */
import { HttpStatus } from '@nestjs/common'
import { BaseException } from './base.exception'

export class ServerException extends BaseException {
	constructor(message: string="服务异常") {
		super(500, message, HttpStatus.INTERNAL_SERVER_ERROR)
	}
}
